  <div class="mainColumn translate" id="login">
  <?php 
  	echo $javascript->link('login.js');
  	echo $form->create('login',array('action'=>'logins'));
  ?>
    
      <h2>Log in</h2>
      <?php if(isset($this->data['erro'])):?>
      	<span style="color:red;text-align:center"><?php echo __('Login ou password errado'); ?></span>
      <?php endif;?>
      <?php if(isset($this->data['login_vazio'])):?>
      	<span style="color:red;text-align:center"><?php echo __('Login tem que estar preenchido'); ?></span>
      <?php endif;?>
      <?php if(isset($this->data['usuario_inexistente'])):?>
      	<span style="color:red;text-align:center"><?php echo __('Usu&aacute;rio informado n&atilde;o cadastrado'); ?></span>
      <?php endif;?>
            
      <div class="section">
        <label>Login</label>
        <?php echo $form->input('login',array('type'=>'text','div'=>false,'label'=>false)); ?>
        
      </div>
      <div class="section">
        <label>Password</label>
        <?php echo $form->input('password',array('type'=>'password','div'=>false,'label'=>false)); ?>
        <div style="width:100%;text-align:right">
        	<span class='link_span' style="width:600;" onclick="submitaForm('loginLoginsForm','request_password','logins');">Recover Password</span>
      	</div>
      </div>
      
      <input value="Log in" class="newGreenButton" type="button" onclick="loga();" id="loginButton" />
    </form>  
    
  <div id="fb-root"></div>
  
  

  </div>